#!/bin/bash

unit_kb_2_mb() {
  if [ -z "$1" ]; then
    log::error "[unit_kb_2_mb] value is required"
    exit 1
  fi

  echo $(($1 / 1024))
}

export -f unit_kb_2_mb
